package com.yang.booking.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AppointmentRule implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    private String Id;
    private String StoreId;
    private int EarliestReserve;
    private int LatestReserve;
    private int LatestCancel;
    private int MostMeanwhile;
    private int MostTemporary;
    @TableField(fill = FieldFill.INSERT)
    private Date CreateAt;
    @TableField(fill = FieldFill.DEFAULT)
    private Date UpdateAt;

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getStoreId() {
        return StoreId;
    }

    public void setStoreId(String storeId) {
        StoreId = storeId;
    }

    public int getEarliestReserve() {
        return EarliestReserve;
    }

    public void setEarliestReserve(int earliestReserve) {
        EarliestReserve = earliestReserve;
    }

    public int getLatestReserve() {
        return LatestReserve;
    }

    public void setLatestReserve(int latestReserve) {
        LatestReserve = latestReserve;
    }

    public int getLatestCancel() {
        return LatestCancel;
    }

    public void setLatestCancel(int latestCancel) {
        LatestCancel = latestCancel;
    }

    public int getMostMeanwhile() {
        return MostMeanwhile;
    }

    public void setMostMeanwhile(int mostMeanwhile) {
        MostMeanwhile = mostMeanwhile;
    }

    public int getMostTemporary() {
        return MostTemporary;
    }

    public void setMostTemporary(int mostTemporary) {
        MostTemporary = mostTemporary;
    }

    public Date getCreateAt() {
        return CreateAt;
    }

    public void setCreateAt(Date createAt) {
        CreateAt = createAt;
    }

    public Date getUpdateAt() {
        return UpdateAt;
    }

    public void setUpdateAt(Date updateAt) {
        UpdateAt = updateAt;
    }
}
